package com.aircms.service;

import com.aircms.common.ServerResponse;
import com.aircms.pojo.News;
import com.aircms.pojo.validation.BaseQueryFieldsValidation;

public interface INewsService {
    ServerResponse index(BaseQueryFieldsValidation baseQueryFields, int pageNum, int pageSize);
    ServerResponse store(News news);
    ServerResponse update(News news);
    ServerResponse destroy(Integer id);
    ServerResponse show(Integer id);

}
